package org.ruiyichen.guizhou.agr.bean.mode;

import org.ruiyichen.guizhou.agr.imp.CollectDeviceFilter;

public class CollectDeviceModel implements CollectDeviceFilter {

    public String createTime;

    public String objectName;
    /**
     * 水位
     */
    public String resourceName;
    /**
     * mm
     */
    public String resourceUnit;
    /**
     * 状态值
     */
    public String stateValue;

    public CollectDeviceModel(String deviceInfo) {
        this.objectName = deviceInfo;
    }

    @Override
    public String getICollectDeviceInfo() {
        return objectName;
    }

    @Override
    public String getICollectDeviceType() {
        return resourceName;
    }

    @Override
    public String getICollectDeviceValue() {
        return stateValue + resourceUnit;
    }

    @Override
    public String getICollectTime() {
        return createTime;
    }
}
